package com.example.mz.dynamicdb.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.example.mz.dynamicdb.entity.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CompanyMapper {

    List<Company> getCompanyList();

    void addCompany(@Param("company") Company company);
}
